package com.tjdx.projectsubmission.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tjdx.projectsubmission.db.entity.FillReportDetail;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class FillReportQueryDto {


    /**
     * 主键id
     */
    private Long id;

    /**
     * 填报日期
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @NotNull(message = "日期不能为空")
    private Date fillRepTime;

    /**
     * 标段id
     */
    @NotNull(message = "标段id不能为空")
    private Long sectionId;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 当前里程号
     */
    @NotNull(message = "当前里程号不能为空")
    private String curMilNum;


}
